import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)

/**
 * Write a description of class Letrero here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Letrero extends Actor
{
    /**
     * Act - do whatever the Letrero wants to do. This method is called whenever
     * the 'Act' or 'Run' button gets pressed in the environment.
     * Le llega como parametro una cadena.
     * Te crea un GreenfootImage para crear un letrero con la caden que llego para poder mostrarlo en la pantalla.
     */
    public Letrero(String unaCadena)
    {
          GreenfootImage letrero;
          letrero=new GreenfootImage(unaCadena,60,java.awt.Color.ORANGE,null); 
          setImage(letrero);
    }
    
}
